#include "appPackageItem.h"
#include "jsonUtils.h"

AppPackageItem::AppPackageItem() : id(0)
{

}

void AppPackageItem::fromJson(const JsonValue& value)
{
	JsonUtils::loadLong(value, L"id", id);
	JsonUtils::loadStr(value, L"relativePath", relativePath);
}

const int64_t& AppPackageItem::getId() const
{
	return id;
}

const String& AppPackageItem::getRelativePath() const
{
	return relativePath;
}
